//
//  MQAboutUsViewController.m
//  MQ
//
//  Created by lanou on 15/10/31.
//  Copyright © 2015年 徐永祥. All rights reserved.
//

#import "MQAboutUsViewController.h"

@interface MQAboutUsViewController ()
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UILabel *desLabel;
@property (nonatomic, strong) UIButton *backBtn;
@end

@implementation MQAboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    _backBtn = [UIButton buttonWithType:(UIButtonTypeCustom)];
    _backBtn.frame = CGRectMake(10, 30, 30, 30);
    [_backBtn setImage:[UIImage imageNamed:@"iconfont-fanhui"] forState:(UIControlStateNormal)];
    [_backBtn addTarget:self action:@selector(didClickBackBtn) forControlEvents:(UIControlEventTouchUpInside)];
    [self.view addSubview:_backBtn];
    
    _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(SCREEN_WIDTH / 2 - 40, 60, 80, 60)];
    _titleLabel.text = @"觅  趣";
    _titleLabel.font = [UIFont systemFontOfSize:24];
    _titleLabel.textColor = [UIColor blueColor];
    [self.view addSubview:_titleLabel];
    
    _desLabel = [[UILabel alloc] initWithFrame:CGRectMake(40, 150, SCREEN_WIDTH - 80, 300)];
    _desLabel.numberOfLines = 0;
    _desLabel.layer.borderColor = [UIColor greenColor].CGColor;
    _desLabel.text = @"        觅趣是一款集图文、视频和音乐于一体的娱乐平台，我们希望在这里你能找到生活中的欢乐。\n        如果有什么建议请留言，我们真诚的希望得到您的建议，以便我们改进和提升服务。";
    [self.view addSubview:_desLabel];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (void)didClickBackBtn{
    [self dismissViewControllerAnimated:YES completion:nil];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
